package com.xxxx.yebserver.service;

import com.xxxx.yebserver.entity.Department;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author cxq
 * @since 2021-06-15
 */
public interface DepartmentService extends IService<Department> {

    List<Department> getTreeDepartment();

    boolean saveDep(Department department);

    boolean deleteDep(Long id);
}
